#include <iostream>
using namespace std;
int main()
{
cout<<"~~~KURLAR 19.06.2007 TARIHINE AITTIR~~~\n"
<<"..::C++ LA TASARLANDI.BY KNIGHTRIDER::..\n"
<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
cout<<endl;
double tl;
double dolar;
double euro;
int secim;
char secim2;
do{
cout<<" --------------------------------------"<<endl;
cout<<"|1.Dolardan(ABD) ; YTL ve EURO''''''''ya Cevir|\n"
<<"|2.YTL''''''''den ; Dolara ve EURO''''''''ya Cevir |\n"
<<"|3.EURO''''''''dan ; Dolar ve YTL''''''''ye Cevir |\n";
cout<<" --------------------------------------"<<endl;
cout<<endl;
cout<<"-------------------------------\n";
cout<<"!!! Secim Yapiniz(1 / 2 / 3) : "; cin>> secim;
cout<<"-------------------------------\n"<<endl;
if(secim==1)
{
cout<<"Dolar miktarini giriniz : "; cin>> dolar;
cout<<endl;
cout<<" #### YTL = "<< (1.312*dolar)<<" ####"<<endl;
cout<<" #### EURO = "<< (0.74*dolar)<<" ####"<<endl;
}
else if(secim==2)
{
cout<<"YTL miktarini giriniz : "; cin>> tl;
cout<<endl;
cout<<" #### Dolar = "<< (0.76*tl)<<" ####"<<endl;
cout<<" #### EURO = "<< (0.57*tl)<<" ####"<<endl;
}
else if(secim==3)
{
cout<<"EURO miktarini giriniz : "; cin>> euro;
cout<<endl;
cout<<" #### Dolar = "<< (1.34*euro)<<" ####"<<endl;
cout<<" #### YTL = "<< (1.757*euro)<<" ####"<<endl;
}
cout<<endl;
cout<<"Yeniden islem yapmak istiyormusunuz?(e/h) : "; cin>> secim2;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
cout<<endl;
}
while(secim2!=''''''''h'''''''');
system("PAUSE");
}
knightrider
barcoder_90@yahoo.com.tr